#!/bin/bash

export CLASSPATH="/home/bcc/kawah/workspace/BonnMotion/bin/:/home/bcc/kawah/workspace/BMRunner/bin:/home/bcc/kawah/workspace/MovelEP2/bin:/home/bcc/kawah/workspace/PadroesDeMobilidade/bin"

tam=$[$2-1]
cd ~/workspace/PadroesDeMobilidade/bin
for i in `seq 0 $tam`; do
    java edu.bonn.cs.iv.bonnmotion.run.BM Visplot -f $1 -i $i
done
